# class MethodClass:
#     CLASS_PARAM = 0
#     @classmethod
#     def class_method(cls):
#         print("这是一个类方法",cls.CLASS_PARAM)
# #调用
# MethodClass .class_method()


'''多轮比赛'''
class Game:

    def __init__(self,first_hero,second_hero):
        self.first_hero = first_hero
        self.second_hero = second_hero

    def fight(self):
        print(f"本轮比赛开始，由{self.first_hero} VS {self.second_hero}")

game1 = Game("Bob","Mary")
game2 = Game("Mike","Henry")
game1.fight()
game2.fight()